Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-22442 | GEN004510 | SV-37503r1_rule | ECLP-1 | Medium |
Description |
---|
If the SMTP service log file has an extended ACL, unauthorized users may be allowed to access or to modify the log file. |
STIG | Date |
---|---|
Red Hat Enterprise Linux 5 Security Technical Implementation Guide | 2013-01-17 |
Check Text ( C-36160r1_chk ) |
---|
Examine /etc/syslog.conf and determine the log file(s) receiving logs for "mail.crit", "mail.debug", mail.*, or "*.crit". Procedure: This check is applicable to both Postfix or sendmail servers. Check the permissions on these log files.Identify any log files configured for "*.crit" and the "mail" service (excluding mail.none) and at any severity level. # egrep "(\*.crit|mail\.[^n][^/]*)" /etc/syslog.conf|sed 's/^[^/]*//'|xargs ls -lL If the permissions include a '+', the file has an extended ACL. If the file has an extended ACL and it has not been documented with the IAO, this is a finding. |
Fix Text (F-31411r1_fix) |
---|
This fix is applicable to both Postfix and sendmail servers. Remove the extended ACL from the file. # setfacl --remove-all |